package com.hjm.project.accounts.virtualPolicyRecord.domain;

import com.hjm.framework.web.domain.BaseEntity;
import com.hjm.framework.aspectj.lang.annotation.Excel;
import lombok.Data;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

/**
 * 商户提现规则记录对象 virtual_policy_record
 * 
 * @author maker-platform
 * @date 2022-03-14
 */
@Data
public class VirtualPolicyRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Integer id;

    /** 商户编号 */
    @Excel(name = "商户编号")
    private String merNo;

    /** 修改前周期(天) */
    @Excel(name = "修改前周期(天)")
    private String beforeCycleTx;

    /** 修改后周期(天) */
    @Excel(name = "修改后周期(天)")
    private String afterCycleTx;

    /** 修改前最大提现金额 */
    @Excel(name = "修改前最大提现金额")
    private String beforeMaxTx;

    /** 修改后最大提现金额 */
    @Excel(name = "修改后最大提现金额")
    private String afterMaxTx;

    /** 修改前提现周期 */
    @Excel(name = "修改前提现周期")
    private String beforeCycleDate;

    /** 修改后提现周期 */
    @Excel(name = "修改后提现周期")
    private String afterCycleDate;

    /** 1 app 2平台 */
    @Excel(name = "1 app 2平台")
    private Integer source;

    /** 变更操作人 */
    @Excel(name = "变更操作人")
    private String addMan;

    /** 创建时间 */
    private String createDateTime;

    /** 修改前账户类型 */
    @Excel(name = "修改前账户类型")
    private Integer beforeType;

    /** 修改后账户类型 */
    @Excel(name = "修改后账户类型")
    private Integer afterType;















    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("merNo", getMerNo())
            .append("beforeCycleTx", getBeforeCycleTx())
            .append("afterCycleTx", getAfterCycleTx())
            .append("beforeMaxTx", getBeforeMaxTx())
            .append("afterMaxTx", getAfterMaxTx())
            .append("beforeCycleDate", getBeforeCycleDate())
            .append("afterCycleDate", getAfterCycleDate())
            .append("source", getSource())
            .append("addMan", getAddMan())
            .append("createDateTime", getCreateDateTime())
            .append("beforeType", getBeforeType())
            .append("afterType", getAfterType())
            .toString();
    }
}
